home *** CD-ROM | disk | FTP | other *** search
- Path: heracles.net2.kosone.com!bv-ppp6
- From: nrgetik@limestone.kosone.com (nrgetik)
- Newsgroups: comp.lang.c++
- Subject: Need Help!! BC++ 4.52 DPMI32 problem!
- Date: 14 Apr 1996 19:37:23 GMT
- Organization: Kingston Online Services
- Message-ID: <4krk5j$bq@heracles.net2.kosone.com>
- NNTP-Posting-Host: bv-ppp6.net2.kosone.com
- X-Newsreader: News Xpress Version 1.0 Beta #3
-
- HELP!!!
-
- I'm relatively new to C, and am having a strange problem.
- I've just started playing around with protected mode, and have
- been having success with 16-bit pmode stuff. Whenever I try to
- use 32-bit pmode, I am stopped dead in my tracks. I'm using
- Borland C++ 4.52, with the Dos PowerPack v1.0
-
- Just as a test, I wrote a simple prog :
-
- #include <stdio.h>
- #include <conio.h>
-
- void main()
- {
- printf("Hello!");
- getch();
- }
-
- This compiles fine under DOS(STANDARD) and DOS(16-bit DPMI)
- but when I compile under DOS(32-bit DPMI) I get this error:
-
- This program cannot be run in DOS mode.
- (Load error 85)
- 32stub error: The program can not be loaded
-
-
- I checked out Borland's web site (to no avail) and
- cannot find any info on this.
-
- If anyone has seen this before, I would appreciate any
- help or insight.
-
- Thanks in advance.
- -Steve
-